package queped.quepedconstants;

/**
 * Created by IntelliJ IDEA.
 * User: Jason Ye
 * Date: 02/02/2012
 * Time: 15:09
 */
public class Strings {

    public static final String TABLE_NAME = "Table Name";
    public static final String NUMBER_OF_CUSTOMERS = "Number of Customers";
    public static final String QUEUE_TIME = "Queue Time";
    public static final String RESIDENCE_TIME = "Residence Time";
    public static final String UTILISATION = "Utilization";
    public static final String THROUGHPUT = "Throughput";
    public static final String RESPONSETIME = "Response Time";
    public static final String TRANSACTION_NAME = "Transaction Name";
    public static final String SYSTEM = "System";
    public static final String SYSTEM_THROUGHPUT = SYSTEM+" "+THROUGHPUT;
    public static final String SYSTEM_RESPONSE_TIME = SYSTEM+" "+RESPONSETIME;

    public final static String RELATION = "Relations";
    public static final String TRANSACTION = "Transactions";
    public static final String DBSPEC = "DB Specification";

    public final static String JSIMCLASSNAME = "className";
    public final static String JSIMCLASSPATH = "classPath";
    public final static String STRINGCLASSPATH="java.lang.String";
    public final static String INTCLASSPATH = "java.lang.Integer";
    public final static String DOUBLECLASSPATH = "java.lang.Double";

    public final static String JMTQUEUEPUTSTRATS ="jmt.engine.NetStrategies.QueuePutStrategy";
    public final static String JMTFCFSSTRAT ="jmt.engine.NetStrategies.QueueGetStrategies.FCFSstrategy";
    public final static String JMTTAILSTRAT ="jmt.engine.NetStrategies.QueuePutStrategies.TailStrategy";
    public final static String JMTROUTINGSTRAT ="jmt.engine.NetStrategies.RoutingStrategy";
    public final static String JMTSERVICESTRAT ="jmt.engine.NetStrategies.ServiceStrategy";
  //  public final static String JMTSERVICETIMESTRAT ="jmt.engine.NetStrategies.ServiceStrategies.ServiceStrategy";
    public final static String JMTSERVICETIMESTRAT ="jmt.engine.NetStrategies.ServiceStrategies.ServiceTimeStrategy";
    public final static String XML_A_SERVICETIMESTRAT ="ServiceTimeStrategy";

    public final static String XML_A_SERVICESTRAT ="ServiceStrategy";
    public final static String JMTEMPIRCALSTRAT ="jmt.engine.NetStrategies.RoutingStrategies.EmpiricalStrategy";

    public final static String JMTEMPIRCALENTRY ="jmt.engine.random.EmpiricalEntry";
    public final static String JMTExponentialClasspath ="jmt.engine.random.Exponential";

    public final static String XML_A_EXPONENTIAL ="Exponential";
    public final static String XML_A_DISTRPARAM ="distrPar";
    public final static String JMTExponentialParClasspath ="jmt.engine.random.ExponentialPar";



    /*
    courtesy of JMT
     */
    public static final String XML_DOCUMENT_XSD = "SIMmodeldefinition.xsd";
    public static final String XML_DOCUMENT_ROOT = "sim";
    public static final String XML_A_ROOT_NAME = "name";
    public static final String XML_A_ROOT_SEED = "seed";
    public static final String XML_A_ROOT_DURATION = "maxTime";
    public static final String XML_A_ROOT_LOGPATH = "logPath"; /* MF08 0.7.4 - path of logs */
    public static final String XML_A_ROOT_LOGDELIM = "logDelimiter"; /* MF08 0.7.4 - delimiter character in log */
    public static final String XML_A_ROOT_LOGDECIMALSEPARATOR = "logDecimalSeparator"; /* MF08 0.7.4 - delimiter character in log */
    public static final String XML_A_ROOT_LOGREPLACE = "logReplaceMode"; /* MF08 0.7.4 - replacement mode */
    public static final String XML_A_ROOT_POLLING = "polling";
    public static final String XML_A_ROOT_MAXSAMPLES = "maxSamples";
    public static final String XML_A_ROOT_DISABLESTATISTIC = "disableStatisticStop";

    public static final String XML_E_CLASS = "userClass";
    public static final String XML_A_CLASS_NAME = "name";
    public static final String XML_A_CLASS_TYPE = "type";
    public static final String XML_A_CLASS_PRIORITY = "priority";
    public static final String XML_A_CLASS_REFSOURCE = "referenceSource";
    public static final String XML_A_CLASS_CUSTOMERS = "customers";

    public static final String XML_E_STATION = "node";
    public static final String XML_A_STATION_NAME = "name";
    public static final String XML_E_STATION_SECTION = "section";
    public static final String XML_A_STATION_SECTION_CLASSNAME = "className";
    public static final String XML_E_PARAMETER = "parameter";
    public static final String XML_A_PARAMETER_NAME = "name";
    public static final String XML_A_PARAMETER_CLASSPATH = "classPath";
    public static final String XML_A_PARAMETER_ARRAY = "array";
    public static final String XML_A_PARAMETER_DIRECT = "isDirect";
    public static final String XML_E_PARAMETER_VALUE = "value";
    public static final String XML_E_PARAMETER_REFCLASS = "refClass";
    public static final String XML_E_SUBPARAMETER = "subParameter";
    public static final String XML_A_SUBPARAMETER_NAME = "name";
    public static final String XML_A_SUBPARAMETER_PROBABILITIES = "Probabilities";
    public static final String XML_A_SUBPARAMETER_PROBABILITY = "probability";
    public static final String XML_A_SUBPARAMETER_EMPIRICAL_ENTRYARRAY = "EmpiricalEntryArray";
    public static final String XML_A_SUBPARAMETER_EMPIRICAL_ENTRY = "EmpiricalEntry";



    public static final String XML_E_PARAMETER_QUEUESIZE = "size";


    public static final String XML_A_SUBPARAMETER_CLASSPATH = "classPath";
    public static final String XML_A_SUBPARAMETER_ARRAY = "array";
    public static final String XML_E_SUBPARAMETER_VALUE = "value";

    public static final String XML_E_MEASURE = "measure";
    public static final String XML_A_MEASURE_NAME = "name";
    public static final String XML_A_MEASURE_ALPHA = "alpha";
    public static final String XML_A_MEASURE_PRECISION = "precision";
    public static final String XML_A_MEASURE_VERBOSE = "verbose";
    public static final String XML_A_MEASURE_TYPE = "type";
    public static final String XML_A_MEASURE_CLASS = "referenceUserClass";
    public static final String XML_A_MEASURE_STATION = "referenceNode";
    public static final String XML_A_MEASURE_NODETYPE = "nodeType";

    public static final String[]measures = {
            "Number of Customers",
            "Residence Time",
            "Queue Time",
            "Response Time",
            "Utilization",
            "Throughput"


    };
    public static final String[]systemMeasures = {
            "System Throughput",
            "System Response Time"



    };


    public static final String XML_E_CONNECTION = "connection";
    public static final String XML_A_CONNECTION_SOURCE = "source";
    public static final String XML_A_CONNECTION_TARGET = "target";

    public static final String XML_E_PRELOAD = "preload";
    public static final String XML_E_STATIONPOPULATIONS = "stationPopulations";
    public static final String XML_A_PRELOADSTATION_NAME = "stationName";
    public static final String XML_E_CLASSPOPULATION = "classPopulation";
    public static final String XML_A_CLASSPOPULATION_NAME = "refClass";
    public static final String XML_A_CLASSPOPULATION_POPULATION = "population";

    public static final String XML_LOG_FILENAME = "logfileName";
    public static final String XML_LOG_FILEPATH = "logfilePath";
    public static final String XML_LOG_B_EXECTIMESTAMP = "logExecTimestamp";
    public static final String XML_LOG_B_LOGGERNAME = "logLoggerName";
    public static final String XML_LOG_B_TIMESTAMP = "logTimeStamp";
    public static final String XML_LOG_B_JOBID = "logJobID";
    public static final String XML_LOG_B_JOBCLASS = "logJobClass";
    public static final String XML_LOG_B_TIMESAMECLS = "logTimeSameClass";
    public static final String XML_LOG_B_TIMEANYCLS = "logTimeAnyClass";

    public static final String XML_E_REGION = "blockingRegion";
    public static final String XML_A_REGION_NAME = "name";
    public static final String XML_A_REGION_TYPE = "type";
    public static final String XML_E_REGIONNODE = "regionNode";
    public static final String XML_A_REGIONNODE_NAME = "nodeName";
    public static final String XML_E_CLASSCONSTRAINT = "classConstraint";
    public static final String XML_A_CLASSCONSTRAINT_CLASS = "jobClass";
    public static final String XML_A_CLASSCONSTRAINT_MAXJOBS = "maxJobsPerClass";
    public static final String XML_E_GLOBALCONSTRAINT = "globalConstraint";
    public static final String XML_A_GLOBALCONSTRAINT_MAXJOBS = "maxJobs";
    public static final String XML_E_DROPRULES = "dropRules";
    public static final String XML_A_DROPRULES_CLASS = "jobClass";
    public static final String XML_A_DROPRULES_DROP = "dropThisClass";
    public static final String XML_A_DROPSTRATEGIES = "dropStrategies";
    public static final String XML_A_DROPSTRATEGY = "dropStrategy";
    public static final String XML_A_ROUTINGSTRATEGY = "RoutingStrategy";

    public static final String XML_A_DROP = "drop";


    public static final String CLASSNAME_SOURCE = "RandomSource";
    public static final String CLASSNAME_TERMINAL = "Terminal";
    public static final String CLASSNAME_QUEUE = "Queue";
    public static final String CLASSNAME_SINK = "JobSink";
    public static final String CLASSNAME_SERVER = "Server";
    public static final String CLASSNAME_PSSERVER = "PSServer";
    public static final String CLASSNAME_PSSTRATEGY = "PSStrategy";
    public static final String CLASSNAME_NETSTRATEGY = "NetStrategy";
    public static final String CLASSNAME_TAILSTRATEGY = "TailStrategy";
    public static final String CLASSNAME_NUMVISITS = "numberOfVisits";



    public static final String CLASSNAME_DELAY = "Delay";
    public static final String CLASSNAME_TUNNEL = "ServiceTunnel";
    public static final String CLASSNAME_LOGGER = "LogTunnel"; /* MF08 0.7.4 - extends ServiceTunnel */
    public static final String CLASSNAME_ROUTER = "Router";
    public static final String CLASSNAME_FORK = "Fork";
    public static final String CLASSNAME_JOIN = "Join";

    public static final String NODETYPE_REGION = "region";
    public static final String NODETYPE_STATION = "station";

    public static final String ENCODING = "ISO-8859-1";

    public static final String CREATE_FUNCTION = "CREATE FUNCTION";
    public static final String DECLARE = "DECLARE";
    public static final String END = "END";
    public static final String FOR = "FOR";
    public static final String LOOP = "LOOP";
    public static final String IN = "IN";
    public static final String END_LOOP = "END LOOP";
    public static final String IF = "IF";
    public static final String THEN = "THEN";
    public static final String DECLARE_BRANCH_PROB = DECLARE + " branchProb_";
    public static final String REAL_DEFAULT = "REAL DEFAULT";
    public static final String DECLARE_PREVALENCE_EQUALS = DECLARE + " prevalance " + REAL_DEFAULT;
    public static final String ELSE = "ELSE";
    public static final String END_IF = "END IF";
    public static final String RETURN = "RETURN";
    public static final String SEMICOLON = ";";
    public static final String PLEASE_ENTER_SQL_FILE_NAME = "Please enter a file name of a SQL file:";

    public static final String BEGIN = "BEGIN";
    public static final String separator = "******************************************************************************";

    public static final String DECLARE_MATCHING_ROWS = DECLARE + " numMatchingRows";
    public static final String VARCHAR_DEFAULT = "VARCHAR DEFAULT";

}
